package com.codejam.enums.demo.enums;

import com.codejam.enums.demo.jackson.EnumJsonDeSerializer;
import com.codejam.enums.demo.jackson.EnumJsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * @author zss
 * @date 2022/6/11 10:29
 * @Email:451682479@qq.com
 */
@JsonDeserialize(using = EnumJsonDeSerializer.class)
@JsonSerialize(using = EnumJsonSerializer.class)
public interface IEnum {

    int getCode();

    String getDesc();

}
